h1 Listing base_positions

table
  thead
    tr
      th Name
      th Name cn
      th Department
      th Level num
      th
      th
      th

  tbody
    - @base_positions.each do |base_position|
      tr
        td = base_position.name
        td = base_position.name_cn
        td = base_position.department_id
        td = base_position.level_num
        td = link_to 'Show', base_position
        td = link_to 'Edit', edit_base_position_path(base_position)
        td = link_to 'Destroy', base_position, data: { confirm: 'Are you sure?' }, method: :delete

br

= link_to 'New Position', new_base_position_path
